Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle non-ASCII characters in WHOIS responses #13

Merged
merged 1 commit into from Aug 31, 2012

Conversation

infertux
Copy link
Contributor

String#split raises "invalid byte sequence in UTF-8 (ArgumentError)" (Ruby 1.9.3) when it encounters non-ASCII characters like à, é, etc. Using String#lines fixes that.

Tested on Ruby 1.8.7 and 1.9.3.

@jpf
Copy link
Owner

jpf commented Aug 31, 2012

Awesome! Thank you sir!

jpf added a commit that referenced this pull request Aug 31, 2012
Handle non-ASCII characters in WHOIS responses
@jpf jpf merged commit 4e027ce into jpf:master Aug 31, 2012
@infertux
Copy link
Contributor Author

infertux commented Sep 1, 2012

You're welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants